package com.jqq.exception_;

/**
 * @author 姬倩倩
 * @version 1.0
 */
public class Exception02 {
    public static void main(String[] args) {
//        String name = null;
//        System.out.println(name.length());

//        int[] arr = {1,2,3};
//        for (int i = 0; i <= arr.length; i++) {//arr[arr.length-1]
//            System.out.print(arr[i]+" ");
//        }
//        A a = new A();
//        B b = (B)a;
//        C c = (C)a;
        String name = "姬倩倩 so beautiful!";
        int num = Integer.parseInt(name);
    }
}
class A{}
class B extends A{}
class C extends A{}